package com.scapescience.physiclopedia;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Main extends Activity {
	Button btnTopics,btnQuiz,btnAboutUs;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        btnTopics = (Button) findViewById(R.id.button1);
        btnQuiz = (Button) findViewById(R.id.button3);
        btnAboutUs = (Button) findViewById(R.id.button2);
        
        
        
        btnTopics.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent i = new Intent(getApplicationContext(), Topics.class);
				startActivity(i);
			}
		});
        
        //ihgygiy
        
        btnQuiz.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent i = new Intent(getApplicationContext(), Quiz.class);
				startActivity(i);
			}
		});
        
        btnAboutUs.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent i = new Intent(getApplicationContext(), AboutUs.class);
				startActivity(i);
			}
		});
    }

}

